package com.esiag.pdsteam.referencement.interfaces;

import java.util.Set;

import com.esiag.pdsteam.referencement.bean.EPileType;
import com.esiag.pdsteam.referencement.bean.Message;
import com.esiag.pdsteam.referencement.bean.Source;
import com.esiag.pdsteam.referencement.bean.TypeSource;


public interface IAccess {
	
	TypeSource findTypeSource(int idTypeSource) throws Exception;
	Source findSource(int idSource) throws Exception;
	Message findMessage(int code) throws Exception;
	Set<TypeSource> getAllTypeSource() throws Exception;
	Set<Source> getAllSource() throws Exception;
	Set<Message> getAllMessage() throws Exception;
	Set<Source> getAllSourcebyType(int idTypeSource) throws Exception;
	Set<Message> getAllMessagebySource(int idSource) throws Exception;
	int getCriticite(int idSource,int code) throws Exception;
	EPileType getCriticiteEnum(int idSource,int code) throws Exception;
}
